package com.css.fxfzcpxx.modules.informationAchievement.repository;


import com.css.fxfzcpxx.modules.categoryView.param.QueParam;
import com.css.fxfzcpxx.modules.categoryView.vo.CategoryViewVo;
import com.css.fxfzcpxx.modules.informationAchievement.entity.InfAchievement;
import com.css.fxfzcpxx.modules.informationAchievement.param.DisasterLossAssessmentParam;
import com.css.fxfzcpxx.modules.informationAchievement.param.QueParams;
import com.css.fxfzcpxx.modules.informationAchievement.vo.ExportVo;
import com.css.fxfzcpxx.modules.informationAchievement.vo.InfAchievementVo;

import java.util.Date;
import java.util.List;
import java.util.Map;

public interface InfAchievementRepository {
    Map<String, Object> getPage(QueParams queParams, int curPage, int pageSize);

    void save(InfAchievement infAchievement);

    void recallOrPublish(String releaseStatus, List<String> ids, Date date);

    void delete(List<String> asList);

    InfAchievement findById(String id);

    List<InfAchievement> getkeywordManageData(List<String> ids);

    void keywordUpdate(String id, String keyword);

    void publishedDataupdate(InfAchievement infAchievement);

    void unpublishedDataupdate(InfAchievement infAchievement);

    Map<String, Object> disasterLossAssessment(DisasterLossAssessmentParam queParams, int curPage, int pageSize);

    List<String> getDataByOrigin(String sign);

    List<CategoryViewVo> getData(QueParam queParam);

    Integer getDownload(String unit);

    List<InfAchievementVo> getLatestData();

    List<ExportVo> getExportData( List<String> idList);
}
